Boot Command


boot [-file filename] [-flags longword[,longword]] [-protocols enet_protocol] [-halt] [boot_device]


Description

Examples
The boot command performs the following functions:

Where:
-file filenameSpecifies the name of a file to load into the system. For booting from Ethernet, this name is limited to 15 characters. Use the set boot_file command to set an environment variable that specifies a default boot file.
-flags dataSpecifies additional information for the operating system. Use the set boot_osflags command to set an environment variable that specifies a default boot flag values.
OpenVMS boot flags.
Tru64 UNIX boot flags.
-protocols enet_protocolSpecifies an Ethernet protocol(s) that will be used for a network boot. Values may be mop or bootp.
-haltForces the bootstrap operation to halt and invoke the console program after the image is loaded and the page tables and other data structures are set up.
boot_deviceSpecifies a device path or list of devices that the firmware will attempt to boot. Use the set bootdef_dev command to set an environment variable that specifies a default boot device.

Boot Command Examples

>>>bootBoots the system from the default boot device.
>>>boot ewa0Boots the system from Ethernet port ewa0.
>>>boot -file dec2.sys ewa0Boots the file named dec2.sys from Ethernet port ewa0.
>>>boot -protocol bootp ewa0Boots using TCP/IP BOOTP protocol from Ethernet post ewa0. (Make sure the environment variables ewa0_protocols and ewa0_inet_init are both set to BOOTP before booting.)
>>>boot -flags aBoots the system from the default boot device using flag settings 0,1.
>>>boot -halt dka0Loads the image from disk dka0, but remains in console mode.
>>> boot Trying MOP boot. ... ... ...Successful boot from a system that is set to secure mode. In this example the boot command is equivalent to:(boot eza0.0.6.0 -file myfile.sys -flags 0)


OpenVMS Boot Flags

The OpenVMS boot flags consist of two portions separated by a comma: root , bootflag. The value may be stored in the boot_osflags variable or typed in when booting. The default value is 0,0. The left half specifies the directory to boot from (0 = [SYS0], 1 = [SYS1] and so forth). The right half can be used to enable specific functions during booting as shown below:

ValueBitDescription
10Conversational boot (SYSBOOT>).
21Maps XDELTA to a running system.
42Stops at the initial system breakpoint.
83Performs a diagnostic bootstrap.
104Stops at the bootstrap breakpoints.
205Omits header from secondary boot image.
807Prompts for the name of the secondary bootfile.
1008Halts the system before secondary bootstrap.
200013Marks corrected read data error pages as bad.
1000016Displays extensive debug messages during booting.
2000017Displays selected user messages during booting.


Tru64 UNIX Boot Flags

Tru64 UNIX boot flags can be stored in the boot_osflags variable or typed in along with the boot command. The possible boot flags for Tru64 UNIX are:

FlagDescription
a
Load OS from the specified boot device. Boot to multiuser mode.
i
Prompt for the name of a file to load and other options (Boot interactively). Boot to single user mode.
s
Stop in single user mode. Boot /vmunix to single user mode and stop at the # (root) prompt.
d
Full dump, implies "s" as well.